<section class="content">
    <div class="left-content">
        <span class="main-text">Contact Us</span>
        <span class="title-text">Fill the form</span>
        <div class="desc">
            If you want to tell or ask us something, or if you just want to contact us, please feel free to fill the form with your credentials and leave a message with the question or 
            note you would like to send us and we will respond in no time. Thank you for your time.
        </div>
        <div id="contact">
                <div class="validation">
            <?php 
                
                echo validation_errors(); 
                if(isset($success)) {
                    echo $success;
                }
            ?>
        </div>
            <?php 
                echo form_open("contact/contactUs"); 
                echo form_label('Name:', '', array(
                    'for' => 'name'
                ));
                echo form_input(array(
                    'id' => 'name',
                    'name' => 'name',
                ));
                echo form_label('Email:', '', array(
                    'for' => 'email'
                ));
                echo form_input(array(
                    'id' => 'email',
                    'name' => 'email',
                ));
                echo form_label('Message:', '', array(
                    'for' => 'message'
                ));
                echo form_textarea(array(
                    'id' => 'message',
                    'name' => 'message',
                ));
                echo form_submit(array(
                    'value' => 'Contact us',
                    'class' => 'learn'
                ));
            ?>
            <?php echo form_close(); ?>
        </div>
    </div>
    <div class="right-content">
        <div class="widgets">
            <h3>Our Offices</h3>
            <ul>
                <li><a href="#">Plovdiv</a></li>
                <li><a href="#">Sofia</a></li>
                <li><a href="#">Varna</a></li>
                <li><a href="#">Ruse</a></li>
            </ul>
        </div>
        <div class="widgets">
            <h3>Follow us</h3>
            <div id="images">
                <a href="#"><img src="images/fb.png" alt="Facebook"/></a>
                <a href="#"><img src="images/twitter.png" alt="Twitter"/></a>
            </div>
        </div>
    </div>
</section>
